Skip to content

Conversation

delta-G
Copy link
Contributor

@delta-G delta-G commented Nov 27, 2023

Fix TwoWire::read_from and TwoWire::write_to to use proper millis code that can handle rollover.
Fixes issue #195

@CLAassistant
Copy link

CLAassistant commented Nov 27, 2023

CLA assistant check
All committers have signed the CLA.

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Nov 27, 2023
@per1234 per1234 linked an issue Nov 28, 2023 that may be closed by this pull request
Copy link
Contributor

@aentinger aentinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 However, please use either "underscore case" start_millis or drop the millis suffix, since all other variables here seem to be non CamelCase.

delta-G and others added 2 commits November 28, 2023 14:24
const correct

Co-authored-by: Alexander Entinger <[email protected]>
Fixes arduino#195
Includes review from @aentinger
@delta-G delta-G requested a review from aentinger November 28, 2023 22:12
@delta-G
Copy link
Contributor Author

delta-G commented Nov 28, 2023

I just changed the name to start as suggested. It looks like everything compiles now. Please let me know if it needs anything else.

Thanks!

Copy link
Contributor

@aentinger aentinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@aentinger aentinger merged commit c0f158f into arduino:main Nov 29, 2023
@delta-G delta-G deleted the DG_WireMillis branch May 6, 2024 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TwoWire::read_from and TwoWire::write_to millis rollover bug
4 participants